package com.strange.mdl.module.mdl.controller.admin.videoinfo.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.strange.mdl.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.strange.mdl.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 视频信息分页 Request VO")
@Data
public class MdlVideoInfoPageReqVO extends PageParam {

    @Schema(description = "视频标题")
    private String title;

    @Schema(description = "视频描述", example = "随便")
    private String description;

    @Schema(description = "封面图片URL（OSS地址）", example = "https://www.iocoder.cn")
    private String coverUrl;

    @Schema(description = "视频文件URL（OSS地址）", example = "https://www.iocoder.cn")
    private String videoUrl;

    @Schema(description = "视频时长（秒）")
    private Integer duration;

    @Schema(description = "文件大小（字节）")
    private Long fileSize;

    @Schema(description = "视频状态：0-下架，1-发布", example = "2")
    private Integer status;

    @Schema(description = "发布时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] publishTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}